// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
@mixin ms-high-contrast-override {
    @at-root (without: all) {
        @media screen and (forced-colors: active) {
            & {
                @content;
            }
        }
    }
}

// Fluent sets forced-color-adjust: none on several components,
// preventing high contrast color application
@mixin fluent-forced-color-adjust-override {
    @media screen and (forced-colors: active) {
        forced-color-adjust: unset;
    }
}
